package com.lovo.stock.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * 采购类
 */
@Data
@TableName("t_purchase")
public class PurchaseBean {
    //采购id
    @TableId(value = "purchase_id",type = IdType.AUTO)
    private Integer purchaseId;
    //供应商名称
    private String purchaseSupplierName;
    //采购员
    private String purchaseBuyer;
    //采购日期
    private String purchaseDate;
    //采购明细
    @TableField(exist = false)
    private List<PurdetailBean> purdetails;
}
